import axios from 'axios';

export function searchWorkProList (param) {
	return axios({
      method : 'get',
      url : '/altercategory/getList',
      // url : '/problemReason/list',
      headers: {
        'Cache-Control': 'no-cache'
      },
      params: param
    })
}

export function editWorkPro (param) {
	return axios({
      method : 'post',
      url : '/altercategory/modify',
      data: param,
      headers: {
        'Cache-Control': 'no-cache'
      }
    })
}

export function deleteWorkPro (param) {
  return axios({
      method : 'post',
      url : '/altercategory/delete',
      data: param,
      headers: {
        'Cache-Control': 'no-cache'
      }
    })
}

export function addWorkPro (param) {
  return axios({
      method : 'post',
      url : '/altercategory/add',
      data: param,
      headers: {
        'Cache-Control': 'no-cache'
      }
    })
}